<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>
<div class="pageContent">
	<form method="post" action="${pageContext.request.contextPath}${requestScope.record ==null ?'/weekly/weekly/insert' :'/weekly/weekly/update' }" class="pageForm -validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<!-- 关闭窗口 -->
			<input type="hidden" name="callbackType" value="closeCurrent" />
			<!-- 隐藏表单 -->

			<c:if test="${requestScope.record !=null}">

				<input type="hidden" name="id" value="${requestScope.record.id}" />

			</c:if>

			<p>
				<label style="width: 40px;">部门</label> <input name="dmid" readonly="readonly" maxlength="50" type="text" value="${requestScope.record.dname}" />
			</p>
			<p>
				<label style="width: 50px;">制表人</label> <input name="meid" readonly="readonly" type="text" value="${requestScope.record.ename}" />
			</p>
			<p>
				<label style="width: 60px;">制表时间</label> <input name="tltm" readonly="readonly" type="text" value='<fmt:formatDate value="${requestScope.record.tltm}" pattern="yyyy-MM-dd"/>' />
			</p>
			<div class="unit">
				<label>本周工作总结-已完成</label>
				<textarea name="cpld" cols="150" rows="30" readonly="readonly">${requestScope.record.cpld}</textarea>
			</div>
			<div class="unit">
				<label>本周工作总结-未完成</label>
				<textarea name="unfs" cols="150" rows="30" readonly="readonly">${requestScope.record.unfs}</textarea>
			</div>
			<div class="unit">
				<label>下周工作计划-重点工作</label>
				<textarea name="focus" cols="150" rows="30" readonly="readonly">${requestScope.record.focus}</textarea>
			</div>
			<div class="unit">
				<label>下周工作计划-需要配合的工作</label>
				<textarea name="coor" cols="150" rows="30" readonly="readonly">${requestScope.record.coor}</textarea>
			</div>
			<div class="unit">
				<label>下周工作计划-其他工作</label>
				<textarea name="othr" cols="150" rows="30" readonly="readonly">${requestScope.record.othr}</textarea>
			</div>
			<div class="unit">
				<label>备注</label>
				<textarea name="remk" cols="150" rows="30" readonly="readonly">${requestScope.record.remk}</textarea>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
